package com.situ.day5.cal;

public abstract class Cal {
    protected int num1;
    protected int num2;

    public Cal() {
    }

    public Cal(int num1, int num2) {
        this.num1 = num1;
        this.num2 = num2;
    }

    //父类里面不知道如何进行计算，return 0目的是不报错
    /*public int getResult() {
        return 0;
    }*/

    public void show() {

    }

    //Abstract method in non-abstract class
    public abstract int getResult();
}
